package cn.samler.account_manager.model;

import java.util.HashMap;
import java.util.Map;

public class SearchType {
    public static final int FAILED_USERNAME = 0;
    public static final int FAILED_PASSWORD = 1;
    public static final int FAILED_IS_IDENTITY = 2;
    public static final int FAILED_EXEC_DATE = 3;
    public static final int FAILED_EXEC_TIMES_PER_DAY = 4;

    public static final Map<Integer, String> FAILED_MAP = new HashMap<>();

    static {
        FAILED_MAP.put(FAILED_USERNAME, "username");
        FAILED_MAP.put(FAILED_PASSWORD, "password");
        FAILED_MAP.put(FAILED_IS_IDENTITY, "is_identity");
        FAILED_MAP.put(FAILED_EXEC_DATE, "exec_date");
        FAILED_MAP.put(FAILED_EXEC_TIMES_PER_DAY, "exec_times_per_day");
    }
}
